package com.supermap.test;

import com.supermap.data.*;
import com.supermap.mapping.*;
import com.supermap.ui.LayersTree;
import com.supermap.ui.TreeNodeData;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class TreeNodeDataProcess {
    public static void main(String[] args) {

        //原始的专题图节点
//        TreeNodeData treeNodeData = null;
//        Layer layer = (Layer) treeNodeData.getData();

        //自己写的测试案例
        Workspace workspace = new Workspace();
        WorkspaceConnectionInfo conInfo = new WorkspaceConnectionInfo(
                "E:\\MapData\\202410\\todate\\WorkSpace.smwu");
        conInfo.setType(WorkspaceType.SMWU);
        LayersTree layersTree = new LayersTree();
        Layer layer = new Layer();
        layer.fromXML("<sml:Layer>\n" +
                "<sml:Type>1</sml:Type>\n" +
                "<sml:LayerType>1</sml:LayerType>\n" +
                "<sml:LayerSubType>102</sml:LayerSubType>\n" +
                "<sml:DatasetType>1</sml:DatasetType>\n" +
                "<sml:Caption>BackUp_City_A_P@Sichuan</sml:Caption>\n" +
                "<sml:Name>BackUp_City_A_P@Sichuan</sml:Name>\n" +
                "<sml:Description/>\n" +
                "<sml:BlendMode>0</sml:BlendMode>\n" +
                "<sml:DataSourceAlias>Sichuan</sml:DataSourceAlias>\n" +
                "<sml:DatasetName>BackUp_City_A_P</sml:DatasetName>\n" +
                "<sml:DisplayFilterStr/>\n" +
                "<sml:LayerWeight>0</sml:LayerWeight>\n" +
                "<sml:FillOrgMode>Absolute</sml:FillOrgMode>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>2.4</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>24</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>24</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(0,128,130816)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(208,255,131056)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:RasterNewTag>FALSE</sml:RasterNewTag>\n" +
                "<sml:RasterOpaqueRate>100</sml:RasterOpaqueRate>\n" +
                "<sml:RasterBrightness>0</sml:RasterBrightness>\n" +
                "<sml:RasterContrast>0</sml:RasterContrast>\n" +
                "<sml:RasterTransColorTransparent>FALSE</sml:RasterTransColorTransparent>\n" +
                "<sml:ColorDictionaryAutoInterpolation>TRUE</sml:ColorDictionaryAutoInterpolation>\n" +
                "<sml:BackgroundTransparent>FALSE</sml:BackgroundTransparent>\n" +
                "<sml:RasterBkColor>RGB(255,255,131071)</sml:RasterBkColor>\n" +
                "<sml:RasterBKTolerance>0</sml:RasterBKTolerance>\n" +
                "<sml:GridNoData>nan</sml:GridNoData>\n" +
                "<sml:ImageNoData>nan</sml:ImageNoData>\n" +
                "<sml:ImageInterpolationMode>0</sml:ImageInterpolationMode>\n" +
                "<sml:GridNoDataColor>RGB(255,255,131071)</sml:GridNoDataColor>\n" +
                "<sml:BackgroundColor>RGB(255,255,131071)</sml:BackgroundColor>\n" +
                "<sml:ImageBackground>nan</sml:ImageBackground>\n" +
                "<sml:ImageBKgroundReplace>FALSE</sml:ImageBKgroundReplace>\n" +
                "<sml:ImageNoDataReplace>FALSE</sml:ImageNoDataReplace>\n" +
                "<sml:NoDataTransparent>FALSE</sml:NoDataTransparent>\n" +
                "<sml:ColorTable>\n" +
                "<sml:MaxZValue>0.00000000000000000000</sml:MaxZValue>\n" +
                "<sml:MinZValue>0.00000000000000000000</sml:MinZValue>\n" +
                "<sml:WaterLevel>0.00000000000000000000</sml:WaterLevel>\n" +
                "<sml:bUsingWaterLevel>FALSE</sml:bUsingWaterLevel>\n" +
                "<sml:bUsingColorDictTable>FALSE</sml:bUsingColorDictTable>\n" +
                "</sml:ColorTable>\n" +
                "<sml:QueryDef>\n" +
                "<sml:QueryType>General</sml:QueryType>\n" +
                "<sml:Options>\n" +
                "<sml:Geometry>TRUE</sml:Geometry>\n" +
                "<sml:Attribute>TRUE</sml:Attribute>\n" +
                "</sml:Options>\n" +
                "<sml:Mode>GeneralQuery</sml:Mode>\n" +
                "<sml:CursorType>OpenDynamic</sml:CursorType>\n" +
                "<sml:CursorLocation>UserServer</sml:CursorLocation>\n" +
                "</sml:QueryDef>\n" +
                "<sml:VisibleSettings>\n" +
                "<sml:VisibleObjectMinimum>0.1</sml:VisibleObjectMinimum>\n" +
                "<sml:MinVisibleScale>0.00000000000000000000e+00</sml:MinVisibleScale>\n" +
                "<sml:MaxVisibleScale>0.00000000000000000000e+00</sml:MaxVisibleScale>\n" +
                "</sml:VisibleSettings>\n" +
                "<sml:Options>\n" +
                "<sml:Visible>TRUE</sml:Visible>\n" +
                "<sml:Selectable>TRUE</sml:Selectable>\n" +
                "<sml:Editable>FALSE</sml:Editable>\n" +
                "<sml:EditableLock>FALSE</sml:EditableLock>\n" +
                "<sml:Snapable>TRUE</sml:Snapable>\n" +
                "<sml:SymbolScalable>FALSE</sml:SymbolScalable>\n" +
                "<sml:LineAdjust>FALSE</sml:LineAdjust>\n" +
                "<sml:IsAntialias>TRUE</sml:IsAntialias>\n" +
                "<sml:AllowTextOverlap>FALSE</sml:AllowTextOverlap>\n" +
                "<sml:IsAllowTextOverlap>TRUE</sml:IsAllowTextOverlap>\n" +
                "<sml:IsSuperAndSubScript>TRUE</sml:IsSuperAndSubScript>\n" +
                "<sml:CrossroadOptimized>FALSE</sml:CrossroadOptimized>\n" +
                "</sml:Options>\n" +
                "<sml:SymbolScaleDefinition>0</sml:SymbolScaleDefinition>\n" +
                "<sml:PologonInterSect>TRUE</sml:PologonInterSect>\n" +
                "<sml:DisplayClip>TRUE</sml:DisplayClip>\n" +
                "<sml:TransPercent>0</sml:TransPercent>\n" +
                "<sml:IsUseRepresentation>FALSE</sml:IsUseRepresentation>\n" +
                "<sml:RepresentationFieldName/>\n" +
                "<sml:RefRepreFieldName/>\n" +
                "<sml:ThemeRepreFieldName/>\n" +
                "<sml:ImageDisplayMode>0</sml:ImageDisplayMode>\n" +
                "<sml:EnableTimeFilter>FALSE</sml:EnableTimeFilter>\n" +
                "<sml:StartTimeField/>\n" +
                "<sml:EndTimeField/>\n" +
                "<sml:StartFilterTime>1899-12-30-00:00:00</sml:StartFilterTime>\n" +
                "<sml:EndFilterTime>1899-12-30-00:00:00</sml:EndFilterTime>\n" +
                "<sml:TimeStep>0.0000000000</sml:TimeStep>\n" +
                "<sml:Theme>\n" +
                "<sml:Type>1</sml:Type>\n" +
                "<sml:Caption/>\n" +
                "<sml:ThemeWeight>0</sml:ThemeWeight>\n" +
                "<sml:Visible>TRUE</sml:Visible>\n" +
                "<sml:MinVisibleScale>0.00000000000000000000e+00</sml:MinVisibleScale>\n" +
                "<sml:MaxVisibleScale>0.00000000000000000000e+00</sml:MaxVisibleScale>\n" +
                "<sml:ExtendExpressions/>\n" +
                "<sml:IsUseRepresentation>FALSE</sml:IsUseRepresentation>\n" +
                "<sml:RepresentationFieldName/>\n" +
                "<sml:ThemRepreFieldName/>\n" +
                "<sml:FieldExpression>col</sml:FieldExpression>\n" +
                "<sml:SizeExpression>10</sml:SizeExpression>\n" +
                "<sml:MakerColorExpression/>\n" +
                "<sml:LineColorExpression/>\n" +
                "<sml:LineWidthExpression/>\n" +
                "<sml:MakerIdExpression/>\n" +
                "<sml:LineMakerIdExpression/>\n" +
                "<sml:AngleExpression/>\n" +
                "<sml:ConditionExpression/>\n" +
                "<sml:TransparentExpression/>\n" +
                "<sml:RegionFillSymbolExpression/>\n" +
                "<sml:RegionForeColorExpression/>\n" +
                "<sml:RegionBackColorExpression/>\n" +
                "<sml:MateMode>0</sml:MateMode>\n" +
                "<sml:ColorsName>HA_Mature</sml:ColorsName>\n" +
                "<sml:ConditionOffset>10</sml:ConditionOffset>\n" +
                "<sml:DefaultStyle>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>2.4</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>24</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>24</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(0,0,130816)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(189,235,131071)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:DefaultStyle>\n" +
                "<sml:UniqueItems>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>3</sml:Value>\n" +
                "<sml:Caption>3</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(133,134,130953)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(32,100,130840)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>1</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>4</sml:Value>\n" +
                "<sml:Caption>4</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(133,134,130953)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(32,100,130840)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>1</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>5</sml:Value>\n" +
                "<sml:Caption>5</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(133,134,130953)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(32,100,130840)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>1</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>6</sml:Value>\n" +
                "<sml:Caption>6</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(133,134,130953)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(32,100,130840)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>1</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>10</sml:Value>\n" +
                "<sml:Caption>10</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(237,112,130872)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(158,114,130826)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>0</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>11</sml:Value>\n" +
                "<sml:Caption>11</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(237,112,130872)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(158,114,130826)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>0</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>7</sml:Value>\n" +
                "<sml:Caption>7</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(237,112,130872)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(158,114,130826)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>0</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>8</sml:Value>\n" +
                "<sml:Caption>8</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(237,112,130872)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(158,114,130826)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>0</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>9</sml:Value>\n" +
                "<sml:Caption>9</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(237,112,130872)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(158,114,130826)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>0</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>12</sml:Value>\n" +
                "<sml:Caption>12</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>13</sml:Value>\n" +
                "<sml:Caption>13</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>14</sml:Value>\n" +
                "<sml:Caption>14</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>15</sml:Value>\n" +
                "<sml:Caption>15</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>16</sml:Value>\n" +
                "<sml:Caption>16</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>17</sml:Value>\n" +
                "<sml:Caption>17</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "<sml:UniqueItem>\n" +
                "<sml:Value>222</sml:Value>\n" +
                "<sml:Caption>222</sml:Caption>\n" +
                "<sml:StyleEnable>TRUE</sml:StyleEnable>\n" +
                "<sml:ExpressionCover>FALSE</sml:ExpressionCover>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>10</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>100</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>100</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(230,33,130874)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>0</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(217,98,130843)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "<sml:FlagIndex>2</sml:FlagIndex>\n" +
                "</sml:UniqueItem>\n" +
                "</sml:UniqueItems>\n" +
                "<sml:IsDefaultStyleVisible>TRUE</sml:IsDefaultStyleVisible>\n" +
                "<sml:FixedOffset>TRUE</sml:FixedOffset>\n" +
                "<sml:OffsetXExpression/>\n" +
                "<sml:OffsetYExpression/>\n" +
                "</sml:Theme>\n" +
                "<sml:WebSubLayers/>\n" +
                "<sml:ExternalInfo/>\n" +
                "<sml:Selection>\n" +
                "<sml:UseCustomStyle>FALSE</sml:UseCustomStyle>\n" +
                "<sml:StyleOptions>98180</sml:StyleOptions>\n" +
                "<sml:Style>\n" +
                "<sml:MarkerStyle>0</sml:MarkerStyle>\n" +
                "<sml:MarkerSize>2.4</sml:MarkerSize>\n" +
                "<sml:MarkerAngle>0</sml:MarkerAngle>\n" +
                "<sml:MarkerWidth>24</sml:MarkerWidth>\n" +
                "<sml:MarkerHeight>24</sml:MarkerHeight>\n" +
                "<sml:MarkerPicturePath/>\n" +
                "<sml:MarkerSVGPath/>\n" +
                "<sml:FixedColorOfSVG>FALSE</sml:FixedColorOfSVG>\n" +
                "<sml:LineStyle>0</sml:LineStyle>\n" +
                "<sml:LineWidth>0.1</sml:LineWidth>\n" +
                "<sml:LineColor>RGB(0,0,131071)</sml:LineColor>\n" +
                "<sml:LineCapStyle>0</sml:LineCapStyle>\n" +
                "<sml:LineJoinStyle>0</sml:LineJoinStyle>\n" +
                "<sml:FillStyle>1</sml:FillStyle>\n" +
                "<sml:FillForeColor>RGB(189,235,131071)</sml:FillForeColor>\n" +
                "<sml:FillBackColor>RGB(255,255,131071)</sml:FillBackColor>\n" +
                "<sml:FillBackOpaque>TRUE</sml:FillBackOpaque>\n" +
                "<sml:GaussianBlur>FALSE</sml:GaussianBlur>\n" +
                "<sml:FillOpaqueRate>100</sml:FillOpaqueRate>\n" +
                "<sml:FillGradientType>None</sml:FillGradientType>\n" +
                "<sml:FillAngle>0</sml:FillAngle>\n" +
                "<sml:FillCenterOffsetX>0</sml:FillCenterOffsetX>\n" +
                "<sml:FillCenterOffsetY>0</sml:FillCenterOffsetY>\n" +
                "<sml:ShadowOffsetX>5</sml:ShadowOffsetX>\n" +
                "<sml:ShadowOffsetY>5</sml:ShadowOffsetY>\n" +
                "<sml:AcrossLongtitude>FALSE</sml:AcrossLongtitude>\n" +
                "</sml:Style>\n" +
                "</sml:Selection>\n" +
                "<sml:LayerExtensionType>0</sml:LayerExtensionType>\n" +
                "<sml:LayerExtensionBounds>\n" +
                "<sml:Left>0.0000000000</sml:Left>\n" +
                "<sml:Top>0.0000000000</sml:Top>\n" +
                "<sml:Right>0.0000000000</sml:Right>\n" +
                "<sml:Bottom>0.0000000000</sml:Bottom>\n" +
                "</sml:LayerExtensionBounds>\n" +
                "<sml:LayerExtensionBaseUserXml/>\n" +
                "<sml:LayerExtensionBaseUserInfo/>\n" +
                "<sml:LayerGridFunctionSetting/>\n" +
                "<sml:DeduplicateEnabled>TRUE</sml:DeduplicateEnabled>\n" +
                "<sml:DeduplicateTolerance>0.50</sml:DeduplicateTolerance>\n" +
                "<sml:DeduplicateThreshold>50</sml:DeduplicateThreshold>\n" +
                "<sml:OverlapGeometryEnabled>FALSE</sml:OverlapGeometryEnabled>\n" +
                "<sml:OverlapGeometryThreshold>1.0</sml:OverlapGeometryThreshold>\n" +
                "<sml:OverlapGeometryPixel>1</sml:OverlapGeometryPixel>\n" +
                "<sml:ExtensionPluginName/>\n" +
                "<sml:FullLabelEnabled>TRUE</sml:FullLabelEnabled>\n" +
                "</sml:Layer>\n");
        //处理过程
        processData(layer);





    }

    private static void processData(Layer layer) {

        Theme theme = layer.getTheme();
        //这里是单值专题图
        if(theme.getType().equals(ThemeType.UNIQUE)){
            ThemeUnique themeUnique = (ThemeUnique)theme;
            List<ThemeUniqueItem> uniqueItemList = new ArrayList<>();
            for(int i= 0;i<themeUnique.getCount();i++){
                ThemeUniqueItem item = themeUnique.getItem(i);
                uniqueItemList.add(item);

            }


            ThemeUniqueItem[] mergedArray = uniqueItemList.stream()
                    .collect(Collectors.toMap(
                            obj -> obj.getStyle() , // 使用 style 作为 key
                            obj -> new ThemeUniqueItem(obj.getUnique(), obj.getCaption(), obj.getStyle()), // 将原始对象转换成新对象
                            (existing, replacement) -> {
                                existing.setCaption(existing.getCaption() +","+ replacement.getCaption()); // 合并逻辑
                                return existing; // 返回合并后的对象
                            }
                    )).values().toArray(new ThemeUniqueItem[0]);

        }
        //TreeNodeData newNodeD

    }
}
